//
//  UIScreen+Extension.swift
//  MYSwiftWeiBo
//
//  Created by shingwai chan on 16/3/5.
//  Copyright © 2016年 ChanShingWai. All rights reserved.
//

import UIKit

extension UIScreen {
    class var width: CGFloat {
        get {
            return UIScreen.mainScreen().bounds.width
        }
    }
    
    class var height: CGFloat {
        get {
            return UIScreen.mainScreen().bounds.height
        }
    }
}
